package com.sumainfor.zuul.controller;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.zuul.service.impl.MoviesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能描述:
 * 电户号公司
 * @Auther: zhlu
 * @Date: 2018/12/15 13:01
 * @Description:
 */
@RestController
@RequestMapping("movies")
public class MoviesController {

    @Autowired
    MoviesService moviesService;

    @GetMapping("/getSelectMoviesList")
    public JsonResult getSelectMoviesList(){
        JsonResult result=new JsonResult();
        return result.put(moviesService.getSelectMoviesList());
    }

}
